package com.leyantech.ecp.agenx.dispatcher.codec;

import io.vertx.core.json.JsonObject;

/**
 * @author eahau, {@literal <eahau@foxmail.com>}
 * @date 2022-11-15.
 */
public interface ClientMessageEncoder {

  /**
   * 对返回给客户端的消息进行编码.
   *
   * @param out 来自 dialogue 或营销等来源的消息
   */
  JsonObject encode(JsonObject out);

}
